package com.easylinkin.linkappapi.project.service;

import com.easylinkin.linkappapi.project.entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.project.entity.dto.ProjectFromEnterprise;

/**
 * <p>
 * 服务类 没有用到的模块
 * </p>
 *
 * @author TongJie
 * @since 2020-04-16
 */
public interface ProjectService extends IService<Project> {

    /**
     * 根据名称查id
     */
    String getIdByName(String name);

    /**
     * 测试并发用 无用代码
     * @param project
     */
    void addProject(Project project);

    ProjectFromEnterprise getInfo(String tenantId);

    /**
     * 更新项目信息
     * @param projectFromEnterprise
     * @return
     */
    ProjectFromEnterprise updateInfo(ProjectFromEnterprise projectFromEnterprise);
}
